package com.fit.dao.payment;

import java.util.List;

import org.apache.tapestry5.hibernate.annotations.CommitAfter;
import org.apache.tapestry5.internal.antlr.PropertyExpressionParser.list_return;

import com.fit.entities.Payment;
import com.fit.entities.Registration;

public interface PaymentDAO {

	@CommitAfter
	public boolean save(Payment payment);
	
	public Payment findById(Long id);
	
	public List<Payment> findByRegistration(Registration registration);

}
